package org.dromara.business.entity;

import jnr.ffi.annotations.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
public class StatisticsEntity {

    private String time;
    // 入金
    private Deposit deposit;
    // 出金
    private Withdrawal withdrawal;

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class Deposit {
        private BigDecimal tronToZeusTotalAmount = BigDecimal.ZERO;
        private Integer tronToZeusTotal = 0;
        private BigDecimal bscToZeusTotalAmount = BigDecimal.ZERO;
        private Integer bscToZeusTotal = 0;
        private BigDecimal polygonToZeusTotalAmount = BigDecimal.ZERO;
        private Integer polygonToZeusTotal = 0;
    }
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class Withdrawal {
        private BigDecimal zeusToTronTotalAmount = BigDecimal.ZERO;
        private Integer zeusToTronTotal = 0;
        private BigDecimal zeusToBscTotalAmount = BigDecimal.ZERO;
        private Integer zeusToBscTotal = 0;
    }

}
